$$macro printAbils(d) {{ @var name, score, cost, n @foreach(Abilities) @if inCategory("Note") or inCategory("Separator") %@item% @elseif @sublist @need 3ln @spaceabove 1ln @bold %@item% @plain @else @n=split(@item, " ", "name", "score", "cost") %name%?ConfigParam("PrintExp") and @Experience>0? (%@Experience%)?? %score% %cost% @if ConfigParam("PrintNotes") and (@notes != '' or @options) @output \ \ @options(; ) @output %@option%\ @endoptions @if @notes @output ?@options>0?; ??%@notes%\ @endif @output @endif @endif @endfor }} #